using System;
using System.Collections.Generic;

namespace LannyPractiseCode
{
    public class HeroNode
    {
        public int Id { get; set; }
        public String Name {set;get;}
        public String NickName{set;get;}
        public HeroNode NextNode{set;get;}
        public HeroNode(int id,String name,String nickName)
        {
            this.Id=id;
            this.Name=name;
            this.NickName=nickName;
        }

        public override String ToString()
        {
            return "名字： "+this.Name+",小名： "+this.NickName;
        }
    }
}